# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=py3-fasteners
pkgver=0.15
pkgrel=2
pkgdesc="A python package that provides useful locks"
url="https://github.com/harlowja/fasteners/"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-monotonic py3-six"
makedepends="python3-dev py3-setuptools"
source="fasteners-$pkgver.tar.gz::https://github.com/harlowja/fasteners/archive/$pkgver.tar.gz"
builddir="$srcdir/fasteners-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0c77c7061c8b76d0d018b07a3d33fc71701842f5b686456ebf31069694baa27a6cc47196267f24bc296078e7503ab0709fa28c9f0088c3cf777ea0e133bb5832  fasteners-0.15.tar.gz"
